Dopfiles generation