Building the ability to open a file stream