Compare the file that was fixed to the original one that didn't work. Pay particular attention to the initial string of characters, which may have contained a command that was causing the file to malfunction. Or a command might have been missing - some machines, for instance, require a "%" sign at the top and bottom of the file in order to load.