Added file support
Set up isFile validation