Added support for single-file source