parse file by specifying path