avoid file_exists calls