Added function to storage to get file and create it at the same time