Simplifying boxfile