Added brwose file input. Fixed some bugs with saving files.