Fixed bugs on file paths.