Working with files. base url. unfinished