Added support for multiple files. Ugh.