added file parameter for isFile validator, added array and splFileInfo as parameter for isImage validator