Added choosing file
Added more comments