Add file and create dir.