Some functionality added to gsto_add_file and other small changes.