exctract filePath creation from constructor