get movie directory function