added check for flagless files
more cleaning changes
Merge pull request #45 from Tzinov15/TzinovFinal

Tzinov final