reset file in os for linux