Added parameters for changing file size