Improve again the check for directory traversal. Should be good