1. Fix bug (using pDesign without check if == NULL) 2. Switch type of variables containing file size to (int => long)