Fixed issue #78 (incorrect file path validation)