Made the 'file' function (yey) - BMO 11/10