adding hack to check files