Factored out getfilename(), added stubs for complete() and corr()