Added check for trailing slash in FileHandler