fix_file was using totally the wrong arguments. Fixed that.