simplify file_t