Hackety hack (complete_file now works, implement map_case & exp_im_path, need to add is_dir_func)