typos, ah
fetch file functionality added