This kind of low level file-system code is scary to see in a controller. I think this type of code should only be seen in `Storage`.