also replacing filepaths