fixed remaining bugs with file paths.