bug fix with file path