diff --git a/README.md b/README.md
index 0c75940..dc6f6bd 100644
--- a/README.md
+++ b/README.md
@@ -13,14 +13,14 @@ Dotenv is a zero-dependency module that loads environment variables from a `.env
io.github.cdimascio
java-dotenv
- 1.0.0
+ 1.0.1
```
### Gradle
```
-compile 'io.github.cdimascio:java-dotenv:1.0.0'
+compile 'io.github.cdimascio:java-dotenv:1.0.1'
```
diff --git a/java-dotenv-1.0.0.pom b/java-dotenv-1.0.1.pom
similarity index 99%
rename from java-dotenv-1.0.0.pom
rename to java-dotenv-1.0.1.pom
index 5c4db81..6534825 100644
--- a/java-dotenv-1.0.0.pom
+++ b/java-dotenv-1.0.1.pom
@@ -10,7 +10,7 @@
io.github.cdimascio
java-dotenv
- 0.7.1
+ 1.0.1
diff --git a/pom.xml b/pom.xml
index 6c7dec9..6534825 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,7 @@
io.github.cdimascio
java-dotenv
- 1.0.0
+ 1.0.1
diff --git a/src/main/kotlin/io/github/cdimascio/Dotenv.kt b/src/main/kotlin/io/github/cdimascio/Dotenv.kt
index ce19381..256fabd 100644
--- a/src/main/kotlin/io/github/cdimascio/Dotenv.kt
+++ b/src/main/kotlin/io/github/cdimascio/Dotenv.kt
@@ -105,6 +105,7 @@ private object PathResolver {
val useFileScheme = directory.toLowerCase().startsWith("file:")
val fullPath = if (isFullPath) directory else "$directory${File.separator}$filename"
var path = if (useFileScheme) Paths.get(URI.create(fullPath)) else Paths.get(fullPath)
+ path = path.normalize()
if (!Files.exists(path, *arrayOfNulls(0))) {
path = javaClass.classLoader.getResource(fullPath)?.let {