added isVideo and isImage to fileutil