First version of check_file module, based on file core module