Don't forget to check that such dir exists.