deleting unecessary getFileName