Files should not be executable
The EntityManager should not be flushed within a loop