Check file path