diff --git a/source/src/main/java/one/nem/lacerta/source/file/impl/FileManagerImpl.java b/source/src/main/java/one/nem/lacerta/source/file/impl/FileManagerImpl.java index 81e0cd76..1e8c72d1 100644 --- a/source/src/main/java/one/nem/lacerta/source/file/impl/FileManagerImpl.java +++ b/source/src/main/java/one/nem/lacerta/source/file/impl/FileManagerImpl.java @@ -68,7 +68,11 @@ public class FileManagerImpl implements FileManager { @Override public File getFileRef() { - return null; + if (this.isExist()) { + return this.path.toFile(); + } else { + return null; + } } @Override