removed file_exists calls