Slight formatting change to file.c
Removed unneeded open_files_lock. Fixed formatting here and there. The one main fault with the code at this point is that parent processes must exit before child processes, else there will be accesses to NULL pointers