The -u option has been completed. Added extra check in find() function depending on whether user was searching for a .txt file or .json file.