closes #14 and #17, new files option and function support for replace