<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def calculate_path(self, remote_relative_path, input_type):
 """ Only for used by Pulsar client, should override for managers to enforce security and make the directory if needed. """

        directory, allow_nested_files = self._directory_for_file_type(input_type)
        return self.path_helper.remote_join(directory, remote_relative_path)