No more need to unset the . and .. in the array of files 

also renamed file to files as it is an array of files, not a single file