fixed check_file_exists to report success on 'reverse' operation