Pass name of loaded file to MainActivity