File input and GUI complete