Implemented basic file checking. It requires some additional love. But sometimes I need also to sleep :D

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>