Tutorial from https://www.fpcomplete.com/school/advanced-haskell/building-a-file-hosting-service-in-yesod