file_check -> method_file_check file_cd -> method_file_cd and add file_check for any callable