python file check script