expanding char arrays for storing file paths