Added file checking process