added main methods for type File

I changed the return of the javagen for boolean from %s.equals(%s) to
%s==%s . Dont know if it gonna affect you guys