creates file cursor and entries