namespace functions imported from file.py
remove unnecessary __clean_tmp function