add sync version of from file