Store data in directory