you can use a ramfs, write it into a file and use std input