fix wrong FilenameUtils method call
remove redundant try block
garbage