Fixing filepaths