passing filesystem paths fix
Changes made by Ilian Nikolov (ilian.nikolov@gmail.com).