in src/scala/generator/src/main/scala/Main.scala [47:61]
private def resolveFile(fileName: String): Option[File] = {
Option(fileName)
.map {
fileSystem.getPath(_)
}
.filter { path =>
!Option(path.getParent).exists { !_.toFile.exists }
}
.map { path =>
path.toFile
}
.filter { file =>
!file.isDirectory
}
}