parse raw file url and dirlist