cleaning up filepaths