Added file checking to AppManager constructor