Filename secure read

Check this out, Compile and run it and try to break it..if you can!