Adjusted isFile constraint and documentation
Merge pull request #13 from danielsoro/isFile-adjust

Adjusted isFile constraint and documentation