Remove duplicate function. FileStateToChar is defined and used in files_lib.c