got file saving working for preview imagegit add .