Fix bug, file name instead of file path does not work

because of preprocessed data