Added file handling method

Updated REGEX to allow dot in request path

Added condition that skips file handler when path contains ..

Renamed existing methods