Renamed option basepath to filepath