Added FILE_STILL_USE and FILE_NO_USE macros for close_file(). Fixed write_log() typo