Readd file restriction
Merge pull request #24 from parks1919/patch-14

Readd file restriction