Paths created from given file, minor bug fixes