Normalize the file before returning