Fixed file system example

The example used, but didn't import os
Also, it assumed the file existed.
And, the open command didn't work.