mod_file works now without PyQt