Spring architecture for file management