get_files() supports files as input now too