add a check to not create files directory if it already exists
Merge pull request #2 from b-ry/master

add a check to not create files directory if it already exists