initial check files
added checking