v0.2.2

added file checking
removed the for-do loop