If the file path is not 50 characters long, you will either have less than the full path (if the path is longer than 50 characters) or you will have uninitialized garbage values (if it is less than 50 characters). Just use std::string ;)
This. char arrays are ill advised. std::string is your friend.
Also, if your file name has a space in it, cin >> Filename will only get up to the next space. So for example if the user types "My File.txt" you'll only get "My".
If you want the full line of text, you need to use getline and not >>.