Adding file loading dialog