Added dynamic file compression