fixed prob w hard coded paths

You can use relative paths for fopeon()