Note: Managed to semi-legitimately write some Haskell at work. A shell script would have sufficed but would have been less fun