Updated overlay() method to accept a filename or a SimpleImage object