Updates the file path for references