File open and save started

There are still some save bugs. The trims are messing some things up.