Can I align some text automaticaly by defined width like this, use only text string as input?

For example, using text "Theoretical bases of the organization of work with documents", I can produce this:
using code:
\parbox{\textwidth-25mm}{
\bf Theoretical \hfill bases \hfill of \hfill the \hfill organization
\hfill of \hfill work \hfill with \hfill documents
}
But I needed to manually place \hfill. Can I write a command or a macro to reproduce this result like this.
\somecommand{Theoretical bases of the organization of work with documents}

