Pass path as %f parameter
avoid deprecated code
Merge pull request #8 from psporysz/master

Pass path as %f parameter