Added checks to take Form and/or .php from the name inputted