parsing working on package and file level