Open indicates that a file is about to be activated
While close indicates that a file is no longer active
We need to have such functions because it creates a link between
the operating system and the file function since a file needs to be
close after read the file to release the memory allocated by the program and file need to be close to avoid failure in executing the program.