Completed initial working version of .conf file checking script