Add preamble and non-existant file handling