Got file-writing working with a dummy filename - timestamp filename still needs implemented.