Added file method for cli

After merging https://github.com/tmm1/stackprof/pull/35 method file will work correctly