Removed commented out line
Added IsFile