Adjusted isFile constraint and documentation