file ops cleanup