Fix processing of files.