1. Allocate memory for the authorized file name