reduces the file path