make sure that getPartition always return a value which is acceptable and hardcode storage path