bug fix (parse file path)