Fixes bug in synFile creation