fixed various processing invalid files issues
Merge pull request #148 from odedlaz/data_loading_refactor

fixed various processing invalid files issues