Read a file with transform