Implemented open methods.  Also corrected bug in openSourceFile