delete an existing File arg from input
added comments