New copy method in dir + check_filename