optional init method, add compressed file