Main application ready, writing to file not tested