file reading and face detection executed