Checking for programs and files