clean the fun and file name