FIX pass filename when running synchronously
docs