Fixed some reading/writing data to files problems, put auto box before teleop box in layout